package com.io;

import com.io.nettyflow.server.VtsServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

/**
 * Created by yangyx on 2016/7/26.
 */
@ImportResource("spring.xml")
@Configuration
@SpringBootApplication
public class Application {
    public static void main(String[] args){

        SpringApplication.run(Application.class);

        int port=5555;
        new VtsServer().bind(port);
    }

}
